/**
 *
 */
package net.oschina.git.haxteam.zrank.rank;

/**
 * @author qq996
 *
 */
public class User {

	private static String name;//玩家名称

	private static int level;//等级

	private static int xp;//经验

	private static int achievement;//成就

	private static int achievementpoint;//成就点数

	private static int money;//游戏币

	private static User user;

	@SuppressWarnings("static-access")
	public User(String name, int level, int xp, int achievement, int achievementpoint,int money){
		this.name = name;
		this.level = level;
		this.xp = xp;
		this.achievement = achievement;
		this.achievementpoint = achievementpoint;
		this.money = money;
	}

	public User getUser(){

		return user;
	}

	/**
	 * @return the name
	 */
	public static String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public static void setName(String name) {
		User.name = name;
	}

	/**
	 * @return the level
	 */
	public static int getLevel() {
		return level;
	}

	/**
	 * @param level the level to set
	 */
	public static void setLevel(int level) {
		User.level = level;
	}

	/**
	 * @return the xp
	 */
	public static int getXp() {
		return xp;
	}

	/**
	 * @param xp the xp to set
	 */
	public static void setXp(int xp) {
		User.xp = xp;
	}

	/**
	 * @return the achievement
	 */
	public static int getAchievement() {
		return achievement;
	}

	/**
	 * @param achievement the achievement to set
	 */
	public static void setAchievement(int achievement) {
		User.achievement = achievement;
	}

	/**
	 * @return the achievementpoint
	 */
	public static int getAchievementpoint() {
		return achievementpoint;
	}

	/**
	 * @param achievementpoint the achievementpoint to set
	 */
	public static void setAchievementpoint(int achievementpoint) {
		User.achievementpoint = achievementpoint;
	}

	/**
	 * @return the money
	 */
	public static int getmoney() {
		return money;
	}

	/**
	 * @param money the money to set
	 */
	public static void setmoney(int money) {
		User.money = money;
	}

}
